Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.audit.PageProviderservice.automation.contrib

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.audit.PageProviderservice.automation.contrib">


  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">

    <genericPageProvider name="AUDIT_BROWSER"
      class="org.nuxeo.ecm.platform.audit.api.AuditPageProvider">
      <whereClause docType="BasicAuditSearch">
        <predicate parameter="log.id" operator="&gt;">
          <field schema="basicauditsearch" name="logId" />
        </predicate>
        <predicate parameter="log.eventDate" operator="BETWEEN">
          <field schema="basicauditsearch" name="startDate" />
          <field schema="basicauditsearch" name="endDate" />
        </predicate>
        <predicate parameter="log.category" operator="IN">
          <field schema="basicauditsearch" name="eventCategories" />
        </predicate>
        <predicate parameter="log.eventId" operator="IN">
          <field schema="basicauditsearch" name="eventIds" />
        </predicate>
        <predicate parameter="log.principalName" operator="IN">
          <field schema="basicauditsearch" name="principalNames" />
        </predicate>
      </whereClause>
      <sort column="log.eventDate" ascending="true" />
      <sort column="log.id" ascending="true" />
      <pageSize>10</pageSize>
    </genericPageProvider>

  </extension>

</component>